package cn.myjerry.chainOfResp;

public class Manager extends Leader {

	public Manager(String name) {
		super(name);
	}

	@Override
	public void handleRequest(LeaveRequest req) {
		if(req.getLeaveDays() > 10) {
			if(this.NextLeader != null) {
				this.NextLeader.handleRequest(req);
			}
		} else {
			System.out.println("经理审批");
		}
	}

}
